<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>

<?php

include "inc/mysql.inc";
include "inc/myfunction.inc";
$aa=new mysql;
$bb=new myfunction;
$aa->link("");
        $del=@$_GET['del'];
		echo $del;
         $aa=new mysql;
         $aa->link("");
		 $del_query="delete from note_info where id='".$del."'";	
		 $aa->excu($del_query);
		
		

/*
$id=mysqli_connect('localhost','root','','bbs_data');
$sq = "delete from note_info where id = 2";
$result=mysqli_query($id, $sq);
if($result){echo 1;}   */

?>

<form action="" method="GET">
<input type="text" name="del">
<input type="submit" name="tijiao" value="提交" />
</form>

</body>
</html>